package com.ryskoo.catering.vendortemplatereldetail.service;

import com.ryskoo.catering.vendortemplatereldetail.domain.VendorTemplateRelDetailPO;
import com.ryskoo.framework.core.service.IBasicService;

import java.util.List;

public interface IVendorTemplateRelDetailService extends IBasicService<VendorTemplateRelDetailPO> {

    /**
     * 设置某条关联明细的启用状态
     *
     * @param detailUuid
     * @param status
     */
    void changeStatus(String detailUuid, boolean status);

    List<VendorTemplateRelDetailPO> getByMainUuid(String mainUuid, boolean useStatus, boolean status);
}
